#ifndef DISPLAYWIDGET_H1
#define DISPLAYWIDGET_H1
/*==================================================================
 *    作者：Creater
 *    简介：集成Panel与DisplayPlot。用于DisplayWidgetExample点击不同样式btn后显示不同曲线
 *    主页： unix8.net
 *    日期：2014-04-24
/*==================================================================*/
#include <QWidget>
#include "./waveDisplay/displayplot.h"

class DisplayPlot;
class Panel;
class QHBoxLayout;
class DisplayWidget : public QWidget
{
    Q_OBJECT
public:
     DisplayWidget(
             QString table,QString &f, DisplayPlot::CurveType type,  QWidget *parent = 0);
     ~DisplayWidget();
protected:
     void closeEvent(QCloseEvent *);
private:
      DisplayPlot* dispayWidget;
      Panel* panel;
      QHBoxLayout* hLayout;
};
#endif
